package com.njit.mailm.core.bean;

public class Email {
	private String id;
	private String account;
	private Pop pop;
	private Smtp smtp;
	private User user;
	private String password;
	private String alias;
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public Pop getPop() {
		return pop;
	}
	public void setPop(Pop pop) {
		this.pop = pop;
	}
	public Smtp getSmtp() {
		return smtp;
	}
	public void setSmtp(Smtp smtp) {
		this.smtp = smtp;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "Email{" +
				"id='" + id + '\'' +
				", account='" + account + '\'' +
				", pop=" + pop +
				", smtp=" + smtp +
				", user=" + user +
				", password='" + password + '\'' +
				", alias='" + alias + '\'' +
				'}';
	}

}
